package com.storm.lib.vo;

import java.util.ArrayList;
import java.util.List;

/**
 * 类功能:Lua数据处理对象
 * @author future
 * @version 2011-8-9
 */
public class LuaObjectVo {

	private List<Object> inParas;
	private List<Object> outParas;

	public List<Object> getInParas() {
		return inParas;
	}

	public void setInParas(List<Object> inParas) {
		this.inParas = inParas;
	}

	public List<Object> getOutParas() {
		return outParas;
	}

	public void setOutParas(List<Object> outParas) {
		this.outParas = outParas;
	}

	/**
	 * 方法功能:设置返回值 
	 * 更新时间:2011-8-9, 作者:future
	 * @param obj
	 */
	public void putValue(Object obj) {
		if (null == outParas) {
			outParas = new ArrayList<Object>();
		}
		outParas.add(obj);
	}

	@Override
	public String toString() {
		return "in length: " + inParas.size() + ", out length: " + outParas.size();
	}

	@Override
	protected Object clone() throws CloneNotSupportedException {
		System.out.println("调用了clone方法");
		return super.clone();
	}
	
	

}
